use std::collections::HashSet;
pub fn new_count_distinct(input_str: &str) -> usize {
    //todo!()

    let mut count = 0;
    let mut seen = HashSet::new();
    
    let vec: Vec<&str> = input_str.split(',').collect();

    for word in vec {
        if !seen.contains(word) {
            seen.insert(word);
            count += 1;
        }
    }

    count
}
